package com.thomas.sdk.api;

/**
 * 常量配置类
 * 
 * @author thomas
 * 
 */
public class ApiConfiguration {

	public enum Environment {
		SANDBOX, DEVELOPMENT, PRODUCTION
	}

	public enum Modules {
		SCAN(1);

		public final int id;

		Modules(int id) {
			this.id = id;
		}

		public static Modules get(int id) {
			for (Modules a : Modules.values()) {
				if (a.id == id)
					return a;
			}
			return null;
		}
	}

	// public static String appKey =
	// "dysRnyuvZpTWozxdRP9H6Xw8CHQMwN594crst9Lh";// 神庙正式环境
	public static String appKey = "X8TF4619onADBtZvJOfPJErkygLFZlT4zwegET6x";// 神庙沙盒环境
	// public static String appKey = "Mr6qdTV9Msai3WiFfzk8fBToLcl74zuXDwXGlnAa";
	public static String productionUrl = "http://api-eu.beclub.com.cn/";
	// public static String productionUrl =
	// "http://api-v2.beintoo.dotm.com.cn/";
	public static String sandboxUrl = "http://api-v2-sand.beintoo.com/";

	public static String devUrl = "http://174.129.74.62:8080/";
	public static String authKey = null;
	public static String apiBaseUrl = productionUrl;
	public static Environment environment = Environment.PRODUCTION;
	public static int enabledModules = 0;
	// public static String version = "1.0.0a" + enabledModules;
	public static String version = "v3.1.3";
	public static String sku = null;
	public static String buildId = null;
}